package com.zjjk.transfer.source.service;

import com.zjjk.transfer.source.entity.SourceOrderDetail;
import com.zjjk.transfer.source.param.SourceOrderDetailPageParam;
import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

/**
 * 订单详情 服务类
 *
 * @author xuziyang
 * @since 2021-03-26
 */
public interface SourceOrderDetailService extends BaseService<SourceOrderDetail> {

    /**
     * 保存
     *
     * @param sourceOrderDetail
     * @return
     * @throws Exception
     */
    boolean saveSourceOrderDetail(SourceOrderDetail sourceOrderDetail) throws Exception;

    /**
     * 修改
     *
     * @param sourceOrderDetail
     * @return
     * @throws Exception
     */
    boolean updateSourceOrderDetail(SourceOrderDetail sourceOrderDetail) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteSourceOrderDetail(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param sourceOrderDetailQueryParam
     * @return
     * @throws Exception
     */
    Paging<SourceOrderDetail> getSourceOrderDetailPageList(SourceOrderDetailPageParam sourceOrderDetailPageParam) throws Exception;

}
